<?php
require('../includes/modules/database/connect.php');
require('../includes/modules/database/function_chungloai.php');
$idChungLoai=$_GET['id'];
$chungLoai=getChungLoai($idChungLoai);
//$idParent=$chungLoai[0];
$xoaChungLoai=xoaChungLoai($idChungLoai);
if($xoaChungLoai)
{
	header('location: index.php');
}
else
{
	echo 'error!!!';
}
?>